Skip to content

pin GitHub Actions with gh actions-lock - #125

Merged
shogo82148 merged 1 commit into
mainfrom
gh-actions-lock
Oct 30, 2026
Merged

shogo82148 merged 1 commit into
mainfrom
gh-actions-lock

Conversation

@shogo82148

@shogo82148 shogo82148 commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

Run gh actions-lock to pin every GitHub Actions dependency (direct and transitive) to an immutable commit SHA and record them in .github/workflows/actions.lock.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the actions referenced by the automated code analysis, fuzzing, and Go workflows to use version tags. Workflow versions, Go settings, and job configurations remain unchanged. These updates do not change application features or behavior for end users.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: d78242ba-a48e-403e-bc2b-1d5b177f0dad
Commits

Reviewing files that changed from the base of the PR and between 49f0929 and 01c2aae.

Files ignored due to path filters: 1
  • .github/workflows/actions.lock is excluded by !**/*.lock
Files selected for processing: 3
  • .github/workflows/codeql-analysis.yml
  • .github/workflows/fuzz.yml
  • .github/workflows/go.yml

Included review availability: This review used your included allowance. 1 included review remains after this review. Your included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.

Walkthrough

Three GitHub Actions workflows now reference actions by version tags instead of commit SHAs. The action versions and workflow inputs remain unchanged.

Changes: Workflow action references

Layer / File(s) Summary
Use version tags for actions
.github/workflows/codeql-analysis.yml, .github/workflows/fuzz.yml, .github/workflows/go.yml
The workflows now reference actions by version tags instead of commit SHAs with version comments. The specified action versions and Go version remain unchanged.

Priority: Low

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other

Merge Risk: Minimal · up to 01c2a

No actionable review finding is established; confirm repository lockfile policy as routine follow-up.

Pre-merge checks: Passed 4 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Title check Inconclusive The title "pin GitHub Actions with gh actions-lock" matches the main objective of the PR. The PR runs gh actions-lock to pin GitHub Actions dependencies to commit SHAs and record them in .github/workf… Confirm the intended direction of the change. The raw summary says the workflows now reference version tags instead of commit SHAs, but the PR objectives say the goal is to pin actions to immutable commit SHAs. Verify that the workflow file…
Passed Passed checks: 4 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.)

Full details: Title check

Explanation

The title "pin GitHub Actions with gh actions-lock" matches the main objective of the PR. The PR runs gh actions-lock to pin GitHub Actions dependencies to commit SHAs and record them in .github/workflows/actions.lock. The title names the tool and the goal, so a reviewer scanning history can identify the primary change. The file-level summaries describe the workflows as now using version tags instead of commit SHAs, which conflicts with the pinning goal. The title describes the intended change, but the visible changes in the workflow files move away from SHA pinning. The title is related to the stated objective but does not match the visible file changes.

Resolution

Confirm the intended direction of the change. The raw summary says the workflows now reference version tags instead of commit SHAs, but the PR objectives say the goal is to pin actions to immutable commit SHAs. Verify that the workflow files contain SHA pins after gh actions-lock runs, or that the title and objectives match the actual diff. Then re-run the title check.

Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@shogo82148
shogo82148 merged commit 389d403 into main Oct 30, 2026
33 checks passed
@shogo82148
shogo82148 deleted the gh-actions-lock branch October 30, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant